import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import {store} from './store/index'

// 饿了就要饿了么
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(Element);

// style
import '@/assets/style/reset.scss'
import '@/assets/style/public.scss'

// axios
import axios from 'axios'
import '@/api/http.js'
Vue.prototype.$axios=axios

// 全局方法
import global from '@/utils/global.js'
Vue.prototype.common = global

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
